package com.git.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 跳转页面的controller
 * @author tdp
 *
 */
@Controller
@RequestMapping("main")
public class MainPageController {
	// 普通页面
	@RequestMapping("/common")
	public String getCommonPage(Model model) {
		return "commonpage";
	}

	// 管理员页面
	@RequestMapping("/admin")
	public String getAadminPage() {
		return "adminpage";

	}

}